package tuio;

import java.awt.Component;
import java.awt.event.MouseEvent;

/**
 * @author Charles Perin
 * 29 mars 2011
 * LIMSI - INRIA Rennes
 * charles.perin@free.fr
 *
 */
public class AcceleratedTouchEvent extends MouseEvent{
	
	private static final long serialVersionUID = -253692548975078513L;
	
	public static final int LONG_TOUCH = 0;

	private float motionSpeed;
	
	
	public AcceleratedTouchEvent(Component source, int id, long when, int modifiers, 
			int x, int y, int clickCount, boolean popupTrigger, float motionSpeed) {
		super(source, id, when, modifiers, x, y, clickCount, popupTrigger);
		
		setMotionSpeed(motionSpeed);
	}


	public void setMotionSpeed(float motionSpeed) {
		this.motionSpeed = motionSpeed;
	}


	public float getMotionSpeed() {
		return motionSpeed;
	}


	

}
